package day5.HomeWork;

public class Manager extends Employee {
    private double salary;

    public Manager() {
    }

    public Manager(String name, String gender, String date, double salary) {
        super(name, gender, date);
        this.salary = salary;
    }

    @Override
    public void computeSalary() {
        System.out.println("销售员 "+getName()+"本月工资为 "+salary+" 元");
    }
}
